Lesson: 28 - Music and Translate

Purpose : To introduce students to the Music and Translate extensions in Scratch. To help students create interactive projects that can play musical notes/instruments and translate text between languages.

Materials Required

Scratch 3.0

Prior knowledge

Students should already be familiar with basic Scratch blocks (Events, Motion, Looks, Control). Basic understanding of how to add extensions in Scratch.

Exercises

Exercise:1



  1. Insert a boy and a cat sprite. The cat will give instructions about the music. If you press the up, down, left, right arrow or space, different music will play and the boy will dance. You need to write a set of code to generate music by using music blocks from the extension.

  2. Click here to see model video for exercise 1.


    Exercise:2



  3. Insert a girl sprite and it will get the user name and the language from the user. Then it will say the user's name in the language.(Make sure the language is present in the language drop down).

  4. Click here to see model video for exercise 2.


Solutions



  • Click here to download the sb3 file for exercise 1.

  • Click here to download the sb3 file for exercise 2.


  • Teacher's Instruction
    1. Teach students how to add the Music and Translate extensions in Scratch. Give a short demo of each—playing a note and translating a sentence.
    2. If you choose a language other than the languages in the drop down, it will translate only to English.
    3. Ask the children to compare what is available in the Sound blocks and the Music blocks.
    4. Explain what a language is and why translation can be useful in projects.